home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
portray
/
bgam.inc
next >
Wrap
Text File
|
1993-12-30
|
3KB
|
174 lines
define
object
name spine
object
csg
intersect
operand1
box
a (0 1 0)
b (2 1.1 6)
;
material
called brass
;
;
operand2
csg
intersect
operand1
plane
position (1 1 6)
normal (-5 6 1)
;
material
called brass
;
;
operand2
plane
position (1 1 6)
normal (5 6 1)
;
material
called brass
;
;
;
;
;
;
;
object
name bgam-stripes
object
spine
at (0 0 0)
;
;
object
spine
at (2 0 0)
;
;
object
spine
at (4 0 0)
;
;
object
spine
at (6 0 0)
;
;
object
spine
at (8 0 0)
;
;
object
spine
at (10 0 0)
;
;
;
object
name bgam-half
object
csg
subtract
operand1
box
a ( 0 0 0)
b (14 2 32)
;
material
called lead
;
;
operand2
box
a ( 1 1 1)
b (13 2.1 31)
;
material
called rosewood
;
;
;
;
object
bgam-stripes
at (1 0 1)
;
;
object
bgam-stripes
at (13 0 31)
y-rotate 180
;
;
object
disk
position (7 1.1 16)
normal (0 1 0)
radius 4
;
material
called brass
;
;
;
object
name bgam-whole
object
bgam-half
at (0 0 0)
;
;
object
bgam-half
at (-14.5 0 0)
;
;
object
cylinder
from (0 2 6)
to (0 2 10)
radius 0.3
capped
;
material
called brass
;
;
object
cylinder
from (0 2 22)
to (0 2 26)
radius 0.3
capped
;
material
called brass
;
;
object
red-die
at (4 2 5)
y-rotate 15
;
;
object
blue-die
at (7 2 4)
x-rotate 180
y-rotate 22
;
;
;
;